<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>

        <style>
            #news {
                font-size: 14px;

            }
            .title {
                color: #157e30;
                font-weight: 700;
            }
        </style>
    </head>
    <body>
        <div id="news">
            <th:block th:each="news: ${all}">
                <div class="title" th:text=" ${news.newsTitle}" />
                <div th:text=" ${news.createTime}"/>
                <div th:text=" ${news.newsCategoryName}"/>
                <br>
            </th:block>

        </div>

    </body>
</html>